package com.zimmur.service.impl.goods;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.zimmur.dao.goods.IGoodsRecommandDao;
import com.zimmur.model.goods.GoodsParameter;
import com.zimmur.model.goods.GoodsRecommand;
import com.zimmur.service.goods.IGoodsRecommandService;

@Service("goodsRecommandService") 
public class GoodsRecommandServiceImpl implements IGoodsRecommandService{
    @Resource  
    private IGoodsRecommandDao goodsRecommandDao;
	

	@Override
	public List<GoodsRecommand> selectGoodsRecommandLimitList(Integer Limit) {
		return goodsRecommandDao.selectGoodsRecommandLimitList(Limit);
	}


	@Override
	public List<GoodsRecommand> selectByUserIdGoodsRecommandList(long userId) {
		return goodsRecommandDao.selectByUserIdGoodsRecommandList(userId);
	}

	@Override
	public List<GoodsRecommand> selectGoodsRecommandList(GoodsParameter goodsParameter) {
		return goodsRecommandDao.selectGoodsRecommandList(goodsParameter);
	}


	@Override
	public Integer selectCountGoodsRecommand() {
		return goodsRecommandDao.selectCountGoodsRecommand();
	}


	@Override
	public List<GoodsRecommand> selectByTypeFlagGoodsRecommandList(GoodsParameter goodsParameter) {
		return goodsRecommandDao.selectByTypeFlagGoodsRecommandList(goodsParameter);
	}

}
